//-------------------------------------------------------------------
//	Copyright (c) 2013  Zhirnov Andrey
//	This file is part of the "Noise Library" project.
//	See copyright notice in "linNoiseCL.h".
//-------------------------------------------------------------------

#pragma once

#include <Includes.h>

#if defined(_NOISE_CROSS_PLATFORM) or defined(_NOISE_NO_IMAGE_VIEWER)

namespace Noise
{

	//
	// Image Viewer
	//

	class CImageViewer
	{
	// variables
	private:
		uvec2	_size;

	// methods
	public:
		CImageViewer ()
		{
		}

		~CImageViewer ()
		{}

		bool Create (void *sharedRC = null)
		{
			return true;
		}

		void Destroy ()
		{
		}

		void SetSize (const uvec2 &size)
		{
			_size = size;
		}

		void SetFlags (EImageViewerFlags flags)
		{
		}

		const uvec2 & GetSize () const
		{
			return _size;
		}

		void DrawTexture (GLuint tex)
		{
		}

		void DrawImage (const uvec2 &dim, EPixelFormat format, EPixelType type, void *pixels)
		{
		}
	};

}	// Noise

#endif	// _NOISE_CROSS_PLATFORM